<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	 xml:lang="en" lang="en">
	 
	 <f:view>
<ui:composition template="../templates/templateTPE.xhtml">
	<ui:define name="pageTitle">Simulateur TPE</ui:define>
	
<ui:define name="body2">
<div id="centrer">
<h:form id="paiement" style="width: 612px; margin-top:-20px" rendered="#{tpeBean.conx}">
	
<t:message for="paiement"  infoClass="errorText" style="font-size: 20px; color: #c10003; margin-left:200px; font-size: 12px; padding-top : 500px;" detailFormat="Veuillez saisir une valeur" />
<br />

<h:outputLabel for="txtPassword" value="Montant d'achat:" styleClass="labelText" style="margin-left : 200px;  padding-top : 510px; font-weight:bold;"/>
<br />
<h:inputText id="montant"  rendered="true" value="#{tpeBean.montant}" style="margin-left : 200px;"></h:inputText>

<br />
<h:commandButton value="" action="#{tpeBean.demandeCode}" style="background:url(../images/validerTPE.gif) no-repeat;height: 40px; width: 91px;border:0; cursor:pointer; maprging-top:20px; margin-left : 157px; margin-top : 230px;"/>
<h:commandButton value="" action="retour" style="background:url(../images/retourTPE.gif) no-repeat;height: 40px; width: 91px;border:0; cursor:pointer; maprging-top:20px; margin-left : 2px; margin-top : 230px;"/>
<h:commandButton value="" action="#{tpeBean.quitter}" style="background:url(../images/quitterTPE.gif) no-repeat;height: 40px; width: 91px;border:0; cursor:pointer; maprging-top:20px; margin-left : 5px; margin-top : 230px;"/>
						
</h:form>
</div>
</ui:define>
</ui:composition></f:view></html>

